define(function (require, exports, module) {

    function onload() {
        return function isEventAtCoordinates(event, coordinates) {
            if (!event.lngLat) return false;
            return event.lngLat.lng === coordinates[0] && event.lngLat.lat === coordinates[1];
        }
    }

    module.exports = {
        onload
    }
});
